package g.m.springcloud.service;


import g.m.springcloud.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "update")
public interface UpdateService {

    @PostMapping(value = "/update")
    void update(User user);

}
